home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20000217-20000824
/
000456_news@columbia.edu _Tue Aug 15 23:42:49 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id XAA10153
for <kermit.misc@cpunix.cc.columbia.edu>; Tue, 15 Aug 2000 23:42:49 -0400 (EDT)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id XAA13077
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 15 Aug 2000 23:42:48 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id XAA05794
for kermit.misc@watsun.cc.columbia.edu; Tue, 15 Aug 2000 23:31:28 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: Clarence Dold <dold@yellow.rahul.net>
Subject: Re: Newbie question
Date: 16 Aug 2000 03:26:48 GMT
Organization: a2i network
Message-ID: <8nd1lo$7a5$1@samba.rahul.net>
To: kermit.misc@columbia.edu
: Clarence Dold <dold@rahul.net> wrote:
: : I use K95 to log in to a "system", using the supplied login.ksc.
...
: : Can I have a moderately encrypted password file on unix, like the one for
: : K95, so I don't have to key it in?
Frank da Cruz <fdc@watsun.cc.columbia.edu> wrote:
: There's a section in the C-Kermit book on this, starting on page 449 in the
: second edition. Of course, this is leaving aside the question of using a
: secure transport in the first place (like Kerberos, SSL, SRP, etc).
This "system" is a simple gadget that happens to have a telnet interface,
so I can't move to a secure transport, but the "pg 449" solution looks like
the right spot.
I found two things that were confusing me, making me think I had done
something wrong. One is in the autotelnet.ksc provided on the
ckermit 7.0 CDROM.
Feb 26 11:51 AUTOTELN.KSC. line 52
if > \fsplit(\%1) 1 { ; Allow only one "word" here.
Since these are simple little devices, I don't have hosts entries for them,
so I was putting in an IP address. fsplit returns "4" for the ipaddress
because of the . separator, and asks for a host name repeatedly.
This wouldn't be a problem if I was calling the macro and supplying the
args, but I tried "testing" first. ;-(
The other is a Windows-ism, and has to do with an associated snippet of code
that I had been using on unix already, and was trying to move to K95.
To track the separate "systems", I do some file name creation:
log session \v(macro)_\v(line)_\v(ndate).log
which works fine on unix, but on Win2k, the filename truncates to the ":"
that is part of the \v(line). I fixed that portion with
log session \v(macro)_\ftrim(\v(line),":teln").\v(ndate).log
While I'm at it, I'd like the equivalent for awk gsub(), where
I could substitute "_" for the "." in the IP address.
Eventually, I'm going to get good at this kermit stuff.
People are starting to hang around my cubbie, watching scripts flow by,
as well as the seamless telnet/ftp/login tasks that they are all
forced to cobble their way through, with the standard mix of
Solaris/Linux/Windows tools.
--
---
Clarence A Dold - dold@rahul.net
- San Jose & Pope Valley (Napa County) CA.